//
//  DelFamilyMemberApi.m
//  DTSTON
//
//  Created by 喻贵华 on 16/5/5.
//  Copyright © 2016年 Demo. All rights reserved.
//

#import "DelFamilyMemberApi.h"

@implementation DelFamilyMemberApi
{
    NSDictionary *_parameter;
}
-(id)initWithPar:(NSDictionary *)parameter
{
    self=[super init];
    if(self)
    {
        _parameter=parameter;
        
    }
    return self;
}
-(YTKRequestMethod)requestMethod
{
    return YTKRequestMethodPOST;
}

-(NSString *)requestUrl
{
    return @"/family/del";
}
-(id)requestArgument
{
    
    NSMutableDictionary *mdic=[NSMutableDictionary getPubdic];

    if (_parameter[@"id"]) {
        [mdic setObject:_parameter[@"id"] forKey:@"id"];
    }
      NSString *sign= [NSString getSign:mdic];
    [mdic setObject:sign forKey:@"sign"];
    return mdic;
}
-(void)dealloc
{
   NSLog(@"%@ dealloc",NSStringFromClass([self class]));
}
@end
